#region License Revision: 0 Last Revised: 6/18/2008 11:00 AM
/******************************************************************************
Copyright (c) Microsoft Corporation.  All rights reserved.


This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file. 
If it does not, you can obtain a copy from: 

http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
******************************************************************************/
#endregion // License
using System;
using System.Windows.Browser;
using System.Diagnostics;
using System.Text;
using ScriptInterop;
using System.Globalization;

namespace VIEWS // Virtual Earth Wrapper
{
    /// <summary>Contains the specification for importing a 3D model onto the map.</summary>
	public class VEClusteringOptions : JSObject
	{
		/// <summary>
        /// Contains the options for customizing a pushpin cluster display.
        /// </summary>
		private static string thisClass = "VEClusteringOptions";
		
		/// <summary>
        /// Get the JavaScript class name
        /// </summary>
		/// <returns type="String">
        /// The class name used in JavaScript
        /// </returns>		
		public override string ClassName
		{
			get { return thisClass; }
		}

        #region Constructors
        /// <summary>Construct a C# wrapper from a ScriptObject</summary>
        public VEClusteringOptions(ScriptObject so) : base(so) { }

        /// <summary>Initializes a new instance of the VEClusteringOptions Class.</summary>
        public VEClusteringOptions()
        { ScriptObject = CreateClass(); }

        #endregion // Constructors

        #region Public Properties
        /// <summary>
        /// A <see cref="VECustomIconSpecification"/> instance which describes the icon representing the pushpin cluster.
        /// </summary>
        /// <remarks>
        /// If the Icon property is specified, it is used to display clustered icons. If the Icon property is not specified, 
        /// the default cluster icon is used.
        /// </remarks>
        public VECustomIconSpecification Icon
        {
            get { return GetProperty<VECustomIconSpecification>("Icon"); }
            set { SetProperty("Icon", value); }
        }
        #endregion // Public Properties
	};
}
